package application.client.gui.components;

import java.awt.FlowLayout;

import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;

public class ErrorPopUp extends JFrame {

	 public ErrorPopUp()
	   {
		 	super("Error");
		 	setDefaultCloseOperation(EXIT_ON_CLOSE);
		 	setLayout(new FlowLayout());
		 	
		 	JOptionPane o = new JOptionPane();
		 	
		 	
		 	JDialog d = new JDialog();
		 	JDialog dialog = o.createDialog(this, "Error");
		     dialog.show();
		 	
		 	
		 	setVisible(true);

	   }
}
